﻿@{
    ViewData["Title"] = "Index";
    Layout = "~/Views/_ViewImports.cshtml";
}

<div class="layui-row" style="margin-top:10px;">
    <div class="layui-col-md10 layui-col-md-offset1">

        <fieldset class="layui-elem-field">
            <legend>数据库管理</legend>
            <div class="layui-field-box">
                <button type="button" class="layui-btn power-show" lay-menu-code="SystemManagerAction:CreateDataBase" id="add_database">创建数据库</button>
            </div>
        </fieldset>

        <fieldset class="layui-elem-field">
            <legend>表管理</legend>
            <div class="layui-field-box">
                <button type="button" class="layui-btn power-show" lay-menu-code="SystemManagerAction:CreateTables" id="add_tables">创建/更新表</button>
            </div>
        </fieldset>

        <fieldset class="layui-elem-field">
            <legend>数据初始化</legend>
            <div class="layui-field-box">
                <button type="button" class="layui-btn power-show" lay-menu-code="SystemManagerAction:AddAdmin" id="add_admin">创建超级管理员</button>
            </div>
        </fieldset>
    </div>
    
</div>
<script src="~/js/database/database.js"></script>